package org.emmet.db4j.core;

import org.emmet.db4j.core.bean.Table;
import org.emmet.db4j.core.util.DBUtil;

import java.util.List;


public class TestForDB4J {
    private String packageOutPath;//JAVA文件输出路径，一般是再src下的

    public static void main(String[] args) {
        List<Table> tables = DBUtil.getTables();
        for (Table table : tables) {
            System.out.println(table);

            DBUtil.createEntityFile(table);
        }

//        Map<String, List<TableColumn>> tableColumnMap = DBUtil.tableColumnMap;
//        System.out.println(tableColumnMap);

    }

}
